﻿//本文件主要是保存1个以上地方会用到的样式


.isie{color:#fff;width:auto;font-size:22px;background-color: #ff2200;text-align: center;position: fixed;left:0px;top:0px;padding:10px;z-index: 999999;opacity:0.8;margin: 0px 500px}
.index_body{max-width:1080px;margin:.3rem auto 0;overflow: hidden}

/*布局*/
.wrap1000{width:100%;max-width:1000px;margin:0px auto;box-sizing: border-box;}
.wrap1200{width:100%;max-width:1200px;margin:0px auto;box-sizing: border-box;}
.wrap1400{width:100%;max-width:1400px;margin:0px auto;box-sizing: border-box;}


/*元素*/
.btn{
	color: #fff;
	font-size: 0.32rem;
	padding: 0.25rem 0.3rem;
	max-width: 350px;
	background-color: #4e2ea9;
	border-radius: 2rem;
	display: flex;align-items: center;justify-content: center;
	transition: all 0.3s;
}
.btn:active,.btn:hover{color:#333;background-color:@yellow}
.btn.disbaled,.btn[disabled],button[disabled]{color:#999!important;background-color: #ddd!important;cursor: not-allowed}


//生成字体大小
.Loop(@n, @i: 100) when (@n =< @i) {
	.f@{n}rem {
		font-size: (@n/100)+0rem!important; //注意，这里要用表达式，不能以字符串拼接，否则出现空格
	}
	.Loop(@n+1);
}
.Loop(20);

/*element-ui*/
//.el-drawer__body { overflow: auto; }
//.el-drawer__container ::-webkit-scrollbar { display: none; }

/*以下是针对element+ 的messagebox样式在屏幕宽度小于对话框宽度的位置抽疯，操你妈*/
.el-overlay{display: flex;flex-direction: column;align-items: center;justify-content: center;}
.el-message-box {height: auto;position: absolute;max-width:96%;}
.el-dialog .el-dialog__body{padding:10px 20px!important;}





@media screen and (max-width: 480px){
	.index_body{padding:0 10px;}
	.el-dialog {max-width:98%!important;margin:10px!important;}
}